﻿<?= '<?xml version="1.0" encoding="UTF-8" ?>'; ?>
<?= $this->doctype('XHTML1_TRANSITIONAL') ?>
<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <?php
    require 'login-autocomplete.phtml';
    require_once'SmartL/Version.php'; //used in footer

    echo $this->headTitle($this->translate('Smart Framework - Demo Application'));
    echo $this->headMeta()
        ->appendHttpEquiv('expires', 'Wed, 26 Feb 1997 08:21:57 GMT')
        ->appendHttpEquiv('pragma', 'no-cache')
        ->appendHttpEquiv('Cache-Control', 'no-cache')
        ->appendHttpEquiv('Content-Type', 'text/html; charset=UTF-8');
    echo $this->headScript();
    echo $this->headLink()
        ->appendStylesheet($this->skinUrl . 'design01.css')
        ->appendStylesheet($this->skinUrl . 'design01.' . strtolower($this->langId) . '.css');
    echo $this->headStyle();
    ?>
</head>

<body>
<div id="page_main">

	<div id="content">

	<div id="leftmenu">
		<div id="leftmenu_inside">

			<?= $this->action("categories-menu","product-catalogue",null) ?>

	        <?= $this->action("contacts","frame",null) ?>

		</div><!--leftmenu_inside-->
	</div><!--leftmenu-->


	<div id="maincontent">
		<div id="maincontent_inside">
			<?= $this->layout()->content ?>
		</div><!--div maincontent_inside-->
	</div><!--div maincontent-->


	<div id="rightmenu">
	<div id="rightmenu_inside">
			<?= $this->action("login","user",null) ?>
	</div>
	</div>

	<div id="footer">
	 <p>
		Copyright &copy;2006-2008 <span title="Vojtěch Vít, Štěpán Šindelář" style="border-bottom: 1px #ffffff dotted;cursor:help;">Smart Framework Team</span>, Design by Pavel Volek<br/>
		Powered by Smart Framework (version: <?= SmartL_Version::VERSION ?> )
	 </p>
	</div>

</div><!-- id content-->

	<div id="logobox">
	   <a href="<?= $this->url(array("action" => "index","controller" => "index")) ?>" title="Ukázková aplikace Smart Frameworku"></a>
		<div id="logobox_inside">
		</div>
	</div>

	<div id="topbar">
	<div id="topbar_inside">
	    <div class="line_leftend"></div>
		<div id="line">
		  <div class="line_rightend"></div>
		  <div id="menu">
		      <?= $this->action("header","frame",null) ?>
		  </div>
		  <div class="line_leftend"></div>
		</div>
        <div class="line_rightend"></div>

        <div id="lang">
			<ul>
				<li><div class="cze"><a href="<?= $this->url(array("languageId"=>"cs-CZ"), false, false) ?>" title="Česká verze"></a></div></li>
				<li><div class="eng"><a href="<?= $this->url(array("languageId"=>"en-GB"), false, false) ?>" title="English version"></a></div></li>
			</ul>
		</div>


	</div><!--topbar_inside-->
	</div><!--topbar-->

</div><!--page_main-->
</body>

</html>
